ncsi_over_mctp_test_sources = [
  '../../main.cpp',
  'test_ncsi_over_mctp_huawei.cpp',
  'test_ncsi_over_mctp_standard.cpp',
  'test_ncsi_over_mctp_wx.cpp',
  'mock_mctp.cpp',
  '../../../libraries/ncsi_over_mctp/ncsi_over_mctp.cpp',
  '../../../libraries/ncsi_over_mctp/ncsi_over_mctp_standard.cpp',
  '../../../libraries/ncsi_over_mctp/ncsi_over_mctp_huawei.cpp',
  '../../../libraries/ncsi_over_mctp/ncsi_over_mctp_wx.cpp',
]

ncsi_over_mctp_test = executable(
'test_ncsi_over_mctp',
ncsi_over_mctp_test_sources,
include_directories: [
    include_directories('../..'),
    include_directories('../../../libraries'),
],
dependencies: [
    gtest_dep,
    libmcpp_deps,
    libmctp_dep,
],
cpp_args: ['-DUNIT_TEST'],
install: false,
)

test('ncsi_over_mctp_test', ncsi_over_mctp_test, suite: 'ncsi_over_mctp')
